package com.dhcc.sdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 禁忌症评估明细表
 * 
 * @ClassName: SdcBusiContraindicationDtlEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2022-09-20 14:17:04
 */
@TableName("t_sdc_busi_contraindication_dtl") 
public class SdcBusiContraindicationDtlEntity extends BaseEntity<SdcBusiContraindicationDtlEntity> {
	private static final long serialVersionUID = 1L;
	
	//就诊id
	private Long episodeId;	
	//禁忌症ID
	private Long contraindicationId;	
	//禁忌症条目ID
	private Long itemId;	
	//关键词
	private String keyWords;	
	//手动触发标识 1手动 0系统
	private Integer mannul;	
	//有效状态 1 有效 0 无效
	private Integer status;	
	//触发的关键词来源 如诊断表 电子病历
	private String keyWordsfrom;	
	//触发时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date triggerDate;
	//更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateDate;

	/**
	 * 设置：就诊id
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊id
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：禁忌症ID
	 */
	public void setContraindicationId(Long contraindicationId) {
		this.contraindicationId = contraindicationId;
	}
	/**
	 * 获取：禁忌症ID
	 */
	public Long getContraindicationId() {
		return contraindicationId;
	}
	/**
	 * 设置：禁忌症条目ID
	 */
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}
	/**
	 * 获取：禁忌症条目ID
	 */
	public Long getItemId() {
		return itemId;
	}
	/**
	 * 设置：关键词
	 */
	public void setKeyWords(String keyWords) {
		this.keyWords = keyWords;
	}
	/**
	 * 获取：关键词
	 */
	public String getKeyWords() {
		return keyWords;
	}
	/**
	 * 设置：手动触发标识 1手动 0系统
	 */
	public void setMannul(Integer mannul) {
		this.mannul = mannul;
	}
	/**
	 * 获取：手动触发标识 1手动 0系统
	 */
	public Integer getMannul() {
		return mannul;
	}
	/**
	 * 设置：有效状态 1 有效 0 无效
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：有效状态 1 有效 0 无效
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：触发的关键词来源 如诊断表 电子病历
	 */
	public void setKeyWordsfrom(String keyWordsfrom) {
		this.keyWordsfrom = keyWordsfrom;
	}
	/**
	 * 获取：触发的关键词来源 如诊断表 电子病历
	 */
	public String getKeyWordsfrom() {
		return keyWordsfrom;
	}
	/**
	 * 设置：触发时间
	 */
	public void setTriggerDate(Date triggerDate) {
		this.triggerDate = triggerDate;
	}
	/**
	 * 获取：触发时间
	 */
	public Date getTriggerDate() {
		return triggerDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

}
